| 
 | 
 | 
 | 
| SftTree.VAlignStyle Property | 
Defines the vertical alignment of tree lines, expand/collapse buttons, label, plus/minus and item graphics.
Syntax
| VB.NET | VAlign = object.VAlignStyle As SftTreeVAlignConstants | ||
| VB | VAlign = object.VAlignStyle As SftTreeVAlignConstants | ||
| C#.NET | SftTreeVAlignConstants VAlign = object.VAlignStyle; | ||
| VC++ | 
enum SftTreeVAlignConstants VAlign = object->VAlignStyle;
 | ||
| C | HRESULT object->get_VAlignStyle(enum SftTreeVAlignConstants* VAlign); | ||
| Delphi | VAlign := object.VAlignStyle : TOleEnum; | ||
| VB.NET | object.VAlignStyle = VAlign As SftTreeVAlignConstants | ||
| VB | object.VAlignStyle = VAlign As SftTreeVAlignConstants | ||
| C#.NET | SftTreeVAlignConstants object.VAlignStyle = VAlign; | ||
| VC++ | 
enum SftTreeVAlignConstants object->VAlignStyle = VAlign;
 | ||
| C | HRESULT object->put_VAlignStyle(enum SftTreeVAlignConstants VAlign); | ||
| Delphi | object.VAlignStyle := VAlign : TOleEnum; | ||
object
A SftTree object.
VAlign
Defines the vertical alignment of tree lines, expand/collapse buttons, label, plus/minus and item graphics.
| Align | Value | Description | 
| 0 | The tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics are vertically centered. If no alignment value is specified, this is the default. | |
| 1 | The tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics are aligned with the top of the available area. | |
| 2 | The tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics are aligned with the bottom of the available area. | 
Comments
The VAlignStyle property defines the vertical alignment of tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics.
Columns and cells can further define the vertical alignment of cell contents (see Column.CellVAlign, Cell.TextVAlign and Cell.ImageVAlign).
See Also SftTree Object | Object Hierarchy